import { createApp } from 'vue';
import App from './App.vue';
const app = createApp(App);

import '@/style/common.scss';

import 'vant/lib/index.css';
// import Vant from 'vant';
// app.use(Vant);
import { ActionSheet, RadioGroup, Radio, Dialog, Popover, Cell, Icon  } from 'vant';
app.use(ActionSheet);
app.use(RadioGroup);
app.use(Radio);
app.use(Dialog);
app.use(Popover);
app.use(Cell);
app.use(Icon);

import router from '@/router/index.ts';
app.use(router);


// import VConsole  from 'vconsole';
// const vvConsole = new VConsole();

import { createPinia } from 'pinia';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);
app.use(pinia);



// import VConsole  from 'vconsole';
// const vvConsole = new VConsole();


import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn');

app.mount("#app");
